{include file="header.html"}
<div id="rightTop">
    <p>热门主题</p>
    <ul class="subnav">
        <li><a class="btn1" href="index.php?app=hot_theme&amp;act=index">管理</a></li>
        <li><span>{$lang.add}</span></li>
    </ul>
</div>
<input type="hidden" name="app" value="hot_theme" />
<input type="hidden" name="act" value="index" />
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $res}-->
        <tr class="tatr1">
            <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
            <td align="left">主题名称</td>
            <td align="left">主题图片</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$res item=r}-->
        <tr class="tatr2">
            <td class="firstCell"><input type="checkbox" class="checkitem" value="{$r.theme_id}"/></td>
            <td>{$r.theme_title|escape}</td>
            <td>{if $r.theme_url}<img src="{$r.theme_url}?{$random_number}" height="30"/>{/if}</td>

        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="7">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <div id="dataFuncs">
        <div class="pageLinks">
            {include file=page.bottom.html}
        </div>
        <!--{if $res}-->
        <div id="batchAction" class="left paddingT15">
            <input class="formbtn batchButton" type="button" value="选中" name="theme_id" uri="index.php?app=hot_theme&act=addPost" presubmit="confirm('您确定选中这些主题了么');" />
            <!--{/if}-->

            &nbsp;&nbsp;
            <!--<input class="formbtn batchButton" type="button" value="lang.update_order" name="id" presubmit="updateOrder(this);" />-->
        </div>
    </div>
    <div class="clear"></div>
</div>
{include file="footer.html"}
